<%@ page language="java" import="java.util.*" pageEncoding="utf-8"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>  
<%
String path = request.getContextPath();
String basePath = request.getScheme()+"://"+request.getServerName()+":"+request.getServerPort()+path+"/";
%>
<base href="<%=basePath%>">
  <form id="pagerForm" method="post" action="notice/recive_notices-${mokuaiId }.html">
	<input type="hidden" name="status" value="${param.status}"/>
	<input type="hidden" name="send_name" value="${param.send_name}" />
	<input type="hidden" name="send_time" value="${param.send_time}" />
	<input type="hidden" name="send" value="${param.send }" />
	<input type="hidden" name="pageNum" value="${param.pageNum }" />
	<input type="hidden" name="numPerPage" value="${model.numPerPage}" />
	<input type="hidden" name="orderField" value="${param.orderField}" />
</form>
 

<div class="pageHeader">
	  <form onsubmit="return navTabSearch(this);" action="notice/recive_notices-${mokuaiId }.html" method="post">
	<div class="searchBar">
		
		<table class="searchContent">
			<tr>
				<td>
					发布人：<input type="text" name="send_name" value="${param.send_name}"/>
				</td>
				<td>
				  发件模块：<input type="text" name="send" value="${param.send}"/>
				</td>
				<td>
					发布时间：<input type="text" name="send_time" class="date" value="${param.send_time}"/>
				</td>
			</tr>
		</table>
		<div class="subBar">
			<ul>
				<li><div class="buttonActive"><div class="buttonContent"><button type="submit">检索

</button></div></div></li>
				
			</ul>
		</div>
	</div>
	</form>
</div>
<div class="pageContent">
	<div class="panelBar">
		<ul class="toolBar">
			<li><a class="add" href="system/addnotice.html" target="navTab" rel="addnotice1"><span>发布公告</span></a></li>
			
			<li><a class="edit" href="notice/noticedetail-{sid_user}.html?" target="navTab" rel="edit"><span>查看</span></a></li>
			<li class="line">line</li>
			
		</ul>
	</div>
	
	<table class="table" width="100%" layoutH="138" id="com_list">
		<thead>
			
			<tr>
				<th width="20">序号</th>
				<th width="120">公告标题</th>
				<th width="80">发布人姓名</th>
				<th width="80">发件模块</th>
				<th width="100">收件时间</th>
			</tr>
		</thead>
		<tbody id="userlist">
			
			<c:forEach items="${noticelist }" var="notice" varStatus="s">
		         <tr target="sid_user" rel="${notice.id }">
		      <td width=20>
		      ${s.index} 
		      </td>
		      <td width="80">
		     <a href="notice/noticedetail-${notice.id }.html" target="navTab" rel="notices${notice.id }"> ${notice.title }</a>
		      </td>
		      <td width="80">
		        ${notice.send_name }
		      </td>
		     <td width="80">
		        ${notice.send }
		      </td>
		       <td width="100">
		        ${notice.send_time }
		      </td>
		</tr>
            </c:forEach>
		</tbody>
	</table>
	<div class="panelBar">
		<div class="pages">
			<span>${page.allcount }条记录， 共${page.pagecount }页</span>
		</div>
		
		<div class="pagination" targetType="navTab" totalCount="${page.allcount }" numPerPage="${page.avgcount }" pageNumShown="6" 

currentPage="${page.page1 }">

	</div>
	
</div>
   
</div>